|
Command: |
Verify a PIN from a local ATM (or PIN pad etc.) using the VISA PVV method. |
|
Field |
Length & Type |
Details |
|
COMMAND MESSAGE |
||
|
Message header |
m A |
(Subsequently returned to the Host unchanged). |
|
Command code |
2 A |
Value DC. |
|
TPK |
16H or |
The TPK under which the PIN block is encrypted; encrypted under LMK pair 14-15. |
|
PVK pair |
32H or 1A+32H |
The two PVKs each encrypted under LMK pair 14-15. |
|
PIN block |
16 H |
The PIN block encrypted under the TPK. |
|
PIN block format code |
2 N |
One of the valid format codes. |
|
Account number |
12 N |
The 12 right-most digits of the account number, excluding the check digit. |
|
PVKI |
1 N |
The PVKI (should be between 0 and 6). |
|
PVV |
4 N |
The PVV for the PIN. |
|
End message delimiter |
1 C |
Optional. Must be present if a message trailer is present. Value X’19. |
|
Message trailer |
n A |
Optional. Maximum length 32 characters. |
|
RESPONSE MESSAGE |
||
|
Message header |
m A |
Returned to the Host unchanged. |
|
Response code |
2 A |
Value DD. |
|
Error code |
2 N |
00 : No errors 01 : Verification failure 10 : TPK parity error 11 : PVK parity error 12 : No keys loaded in user storage 13 : LMK error; report to supervisor 15 : Error in input data 20 : PIN block does not contain valid values 21 : Invalid user storage index 23 : Invalid PIN block format code 24 : PIN is fewer than 4 or more than 12 digits 27 : PVK not double length |
|
End message delimiter |
1 C |
Present only if present in the command message. Value X’19. |
|
Message trailer |
n A |
Present only if present in the command message. Maximum length 32 characters. |